﻿using Fluffy.Library.DocumentContainer;
using Fluffy.Library.FileSources;
using Fluffy.Library.Mvvm;

namespace Fluffy.FakeDocument
{
	public class FakeDocument : IDocumentContainer
	{
		public string Title
		{
			get { return "Fake"; }
		}

		public DocumentViewModelBase GenerateViewModel(IFile file)
		{
			FakeDocumentModel model = new FakeDocumentModel(file);
			return new FakeDocumentViewModel(model);
		}

		public bool IsFileExtensionSupported(IFile file)
		{
			return true;
		}
	}
}
